<admintpl file="header" />
<style>
	*{margin:0; padding:0;}
	body{font-family: "Microsoft Yahei", "hiragino sans gb", Helvetica, Arial, Tahoma;}
	.shdo{position: fixed; left:0; top:0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10; display: none;}
	.stan-box{padding:10px 20px; width: 400px; max-height: 500px; background: #fff; position: fixed; left:100px; top:100px; z-index: 11; display: none;}
	.simgBox{max-height: 440px; overflow: auto; text-align: center;}
	.simgBox img{}
	.stit{height: 30px;}
	.stit .yuan{font-size: 14px;}
	.stit .cuo{display: block; width: 20px; height: 20px; color: #fff; background: #007aff; line-height: 20px; text-align: center; position: absolute; right:0; top:0; cursor: pointer;}
	.sbot{height: 30px; }
	.sbot span{height: 26px; line-height: 26px; width: 50px; font-size: 12px; color: #fff;  background: #007aff;  float: right; text-align: center; border-radius: 2px;margin-top: 6px; cursor: pointer;}
	.tanimg{cursor:pointer;}
    .aBtnInput{display: inline-block; padding:0 2px; background: #f1f1f1; border:1px solid #a5a5a5; border-radius: 2px; }
    .aBtnInput:link,.aBtnInput:visited,.aBtnInput:hover,.aBtnInput:active{text-decoration: none;color: #333;}
</style>
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
		<li class="active"><a>代理报表</a></li>
	</ul>


	<table class="table table-hover table-bordered">
		<br><br><br><br>
		<thead>
		<tr>
			<th style="text-align: center">总投注量</th>
			<th style="text-align: center">有效投注</th>
			<th style="text-align: center">投注人数</th>
			<th style="text-align: center"><?php if(!empty($kaishi) || !empty($jieshu)){echo "注册会员";}else{echo "当天注册会员";} ?></th>
			<th style="text-align: center"><?php if(!empty($kaishi) || !empty($jieshu)){echo "充值会员";}else{echo "当天充值会员";} ?></th>
			<th style="text-align: center">新会员首次充值人数</th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td style="text-align: center">{$zongtouzhu}</td>
			<td style="text-align: center">{$youxiao}</td>
			<td style="text-align: center">{$tz_renshu}</td>
			<td style="text-align: center">{$dt_count_zc}</td>
			<td style="text-align: center">{$dt_count_cz}</td>
			<td style="text-align: center"><?php if($count_sc==0){echo '0';}else{echo $count_sc;} ?></td>
		</tr>
		</tbody>
	</table>
	<br/><br/><br/>
	<table class="table table-hover table-bordered">
		<thead>
		<tr>
			<th style="text-align: center">充值总额</th>
			<th style="text-align: center">投注总额</th>
			<th style="text-align: center">返点总额</th>
			<th style="text-align: center">中奖金额</th>
			<th style="text-align: center">活动礼金</th>
			<th style="text-align: center">提现金额</th>
			<th style="text-align: center">盈亏统计</th>
			<th style="text-align: center">账号余额</th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td style="text-align: center"><?php echo sprintf('%.2f',$cz_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$tz_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$fd_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$zj_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$hd_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$tx_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$yl_zonge); ?></td>
			<td style="text-align: center"><?php echo sprintf('%.2f',$yue); ?></td>
		</tr>
		</tbody>
	</table>
</div>
</body>
</html>
<script src="__PUBLIC__/js/common.js"></script>